<template>
    <el-input :value="input" readonly style="width: 240px;" />
</template>

<script setup>
import {food} from "../dicts/test.js";
defineProps({
    input: {
        type: String,
        default: 'default value'
    }
})
const healthFood = ref(food.filter(f => f.health === true))
onMounted(() => {
    console.log('healthFood', JSON.stringify(healthFood.value))
})
</script>

<style scoped>

</style>
